package com.fac.vo;

import com.fac.json.JacksonObjectMapper;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 创建巡检记录响应VO
 */
@Data
@Builder
@ApiModel(description = "创建巡检记录返回对象")
public class InspectionRecordCreateVO implements Serializable {

    @ApiModelProperty(value = "记录ID", example = "1")
    private Long recordId;

    @ApiModelProperty(value = "巡检时间", example = "2024-01-01 12:00:00")
    @JsonFormat(pattern = JacksonObjectMapper.DEFAULT_DATE_TIME_FORMAT)
    private LocalDateTime inspectionTime;
} 